package edu.lnu.ums.entities;

import edu.lnu.ums.entities.processes.PhDWork;
import edu.lnu.ums.entities.processes.ScientificWork;
import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class Teacher extends Worker {
    private static final long serialVersionUID = 1L;

    @Column
    private String direction;

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }
      public Class<?> getScientificWorkClass() {
        return PhDWork.class;
    }
}